/**
 * com.dingjian.meal.controller.MealRecordEditController.java
 * 2012-7-6
 */
package com.dingjian.meal.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.dingjian.base.service.BaseService;
import com.dingjian.framework.base.controller.EditController;
import com.dingjian.meal.model.MealRecord;
import com.dingjian.meal.service.MealRecordService;

/**
 * @author FengMy
 * @since 2012-7-6上午11:21:43
 */
@Controller
@RequestMapping(value="meal/record/*")
public class MealRecordEditController extends EditController {
	@Resource(name="mealRecordService")
	private MealRecordService mealRecordService;
	@Override
	protected Class<MealRecord> getSubmitClass() {
		return MealRecord.class;
	}

	@Override
	protected BaseService<MealRecord> getService() {
		return mealRecordService;
	}

}
